package com.huarui.department.dao;



import java.util.List;
import java.util.Map;

import org.ewaf.framework.dao.IBaseDao;
import org.ewaf.framework.model.ListModel;


import com.huarui.department.model.Department;


public interface IDepartmentDao extends IBaseDao{

	public List<Department> getAll();
	
	public Department getByEmployeeId(Integer employeeId);
	
	@SuppressWarnings("unchecked")
	public Department getByName(Map map);

	@SuppressWarnings("unchecked")
	public ListModel getBypagination(ListModel listMode);
	
	@SuppressWarnings("unchecked")
	public List getDepartmentsByConditions(Map map);
	
	@SuppressWarnings("unchecked")
	public Integer getByConditionsForCount(Map map);
	
	public Department getByisDefault(Integer companyId);
}
